﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using DotConferenceCore.GestionParticipant;

namespace WebInterface
{
    public class MesVariablesSessions
    {

       public int no_participant_logger
        {
            get;set;

        }

       public Participant unParticipant
       {
           get;
           set;
       }

       public int no_conference_active
       {
           get;
           set;
       }

        public static MesVariablesSessions Instance
        {
            get
            {
                if (HttpContext.Current.Session["singleton"]== null)
                {
                    HttpContext.Current.Session["singleton"] = new MesVariablesSessions();
                }
                return (MesVariablesSessions)HttpContext.Current.Session["singleton"];
            }
        }
    }
}
